﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Battleship
{
    public class Moment
    {
        public double X;
        public double Y;
        public double Z;
        public Moment()
        {
            X = 0;
            Y = 0;
            Z = 0;
        }
        public Moment(double x, double y, double z)
        {
            X = x;
            Y = y;
            Z = z;
        }
        public string getStr()
        {
            string srt = "X: " + Math.Round(this.X, 2) + "  Y: " + Math.Round(this.Y, 2);
            return srt;
        }
    }
}
